ENABLE OBJECT ZREAD
This command will enable the Z read state of the object.
ENABLE OBJECT ZREAD Object Number
Object Number
Integer
Specify an object number between 1 and 2415919103.
This command does not return a value.
The Z read state controls whether each pixel of the rendered object obeys the rule of Z buffer depth culling. The default value is enabled, where the object will only render pixels of the object that are above any previous pixels rendered to the screen.
set display mode 800,600,32
cls
make object sphere 1,20
ENABLE OBJECT ZREAD 1
do
loop
end
BASIC3D Commands Menu
Index